﻿using System;
using System.Collections.ObjectModel;
using System.Collections;

namespace SL8.SL.Data
{
    public class SearchResult
    {
        public Exception Error { get; private set; }
        public IEnumerable Result { get; private set; }
        // public int TotalRecordCount { get; private set; }int totalRecordCount,

        public SearchResult(IEnumerable result, Exception error)
        {
            this.Error = error;
            this.Result = result;
            //this.TotalRecordCount = totalRecordCount;
        }
    }
}
